package com.communal.model;

import java.io.Serializable;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.communal.util.AppConstants;

@Entity
@Table(name = "model")
@AttributeOverrides({
	@AttributeOverride(name="enabled", column=@Column(name="enabled")),
	@AttributeOverride(name="id", column=@Column(name="id"))
})	
public class Model extends BaseEntity implements Serializable{

	private static final long serialVersionUID = -3730002424018012171L;
		
	/**
	 * Constructor for model <br>
	 * @param p_theme - current selected theme; {@link Theme}
	 */
	public Model() {
		enabled = AppConstants.ENTITY_STATE_ENABLED;
	}
}
